package com.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel("用户消息视图对象")
public class MessageVO {

    @ApiModelProperty("消息ID")
    private Long id;

    @ApiModelProperty("消息标题")
    private String title;

    @ApiModelProperty("消息内容")
    private String content;

    @ApiModelProperty("消息类型")
    private String messageType;

    @ApiModelProperty("接收人角色ID")
    private Long roleId;

    @ApiModelProperty("接收人角色名称")
    private String roleName;

    @ApiModelProperty("接收人用户ID")
    private Long receiverId;

    @ApiModelProperty("消息状态: UNREAD未读, READ已读, AGREE同意, REFUSE拒绝")
    private String status;

    @ApiModelProperty("处理时间")
    private LocalDateTime processedTime;

    @ApiModelProperty("业务类型")
    private String businessType;

    @ApiModelProperty("售后单编号")
    private String orderNumber;

    @ApiModelProperty("关联服务问题ID")
    private Long serviceProblemId;

    @ApiModelProperty("发送人name")
    private String senderName;

    @ApiModelProperty("来源")
    private String source;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
}